package com.ruoyi.project.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * crm端用户管理对象 crm_customer
 * 
 * @author ruoyi
 * @date 2020-06-30
 */
public class CrmCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long cid;

    /** crm端客服id */
    @Excel(name = "crm端客服id")
    private Long crmUserid;

    /** 扫码用户id */
    @Excel(name = "扫码用户id")
    private Long uUserid;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String uName;

    /** 是否是临时用户（0是，1不是） */
    @Excel(name = "是否是临时用户", readConverterExp = "0=是，1不是")
    private Integer uIstmp;

    /** 用户微信登陆id */
    @Excel(name = "用户微信登陆id")
    private String uOpenId;

    /** 用户类型(0独占客户，1共享客户) */
    @Excel(name = "用户类型(0独占客户，1共享客户)")
    private Integer uType;

    /** crm端备注 */
    @Excel(name = "crm端备注")
    private String crmRemake;

    /** 是否成单客户,0未成单，1成单 */
    @Excel(name = "是否成单客户,0未成单，1成单")
    private Integer uIsdeal;

    /** 用户电话号码 */
    @Excel(name = "用户电话号码")
    private Long uPhone;

    /** 用户性别 */
    @Excel(name = "用户性别")
    private String uSex;

    /** 国家 */
    @Excel(name = "国家")
    private String uCountry;

    /** 城市 */
    @Excel(name = "城市")
    private String uCity;

    /** 省份 */
    @Excel(name = "省份")
    private String uProvince;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String uNickName;

    /** 微信log */
    @Excel(name = "微信log")
    private String uAvatarUrl;

    /** 微信开放平台唯一标识 */
    @Excel(name = "微信开放平台唯一标识")
    private String uUnionid;

    /** 用户状态0正常，1异常 */
    @Excel(name = "用户状态0正常，1异常")
    private Integer uState;

    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setCrmUserid(Long crmUserid) 
    {
        this.crmUserid = crmUserid;
    }

    public Long getCrmUserid() 
    {
        return crmUserid;
    }
    public void setuUserid(Long uUserid) 
    {
        this.uUserid = uUserid;
    }

    public Long getuUserid() 
    {
        return uUserid;
    }
    public void setuName(String uName) 
    {
        this.uName = uName;
    }

    public String getuName() 
    {
        return uName;
    }
    public void setuIstmp(Integer uIstmp) 
    {
        this.uIstmp = uIstmp;
    }

    public Integer getuIstmp() 
    {
        return uIstmp;
    }
    public void setuOpenId(String uOpenId) 
    {
        this.uOpenId = uOpenId;
    }

    public String getuOpenId() 
    {
        return uOpenId;
    }
    public void setuType(Integer uType) 
    {
        this.uType = uType;
    }

    public Integer getuType() 
    {
        return uType;
    }
    public void setCrmRemake(String crmRemake) 
    {
        this.crmRemake = crmRemake;
    }

    public String getCrmRemake() 
    {
        return crmRemake;
    }
    public void setuIsdeal(Integer uIsdeal) 
    {
        this.uIsdeal = uIsdeal;
    }

    public Integer getuIsdeal() 
    {
        return uIsdeal;
    }
    public void setuPhone(Long uPhone) 
    {
        this.uPhone = uPhone;
    }

    public Long getuPhone() 
    {
        return uPhone;
    }
    public void setuSex(String uSex) 
    {
        this.uSex = uSex;
    }

    public String getuSex() 
    {
        return uSex;
    }
    public void setuCountry(String uCountry) 
    {
        this.uCountry = uCountry;
    }

    public String getuCountry() 
    {
        return uCountry;
    }
    public void setuCity(String uCity) 
    {
        this.uCity = uCity;
    }

    public String getuCity() 
    {
        return uCity;
    }
    public void setuProvince(String uProvince) 
    {
        this.uProvince = uProvince;
    }

    public String getuProvince() 
    {
        return uProvince;
    }
    public void setuNickName(String uNickName) 
    {
        this.uNickName = uNickName;
    }

    public String getuNickName() 
    {
        return uNickName;
    }
    public void setuAvatarUrl(String uAvatarUrl) 
    {
        this.uAvatarUrl = uAvatarUrl;
    }

    public String getuAvatarUrl() 
    {
        return uAvatarUrl;
    }
    public void setuUnionid(String uUnionid) 
    {
        this.uUnionid = uUnionid;
    }

    public String getuUnionid() 
    {
        return uUnionid;
    }
    public void setuState(Integer uState) 
    {
        this.uState = uState;
    }

    public Integer getuState() 
    {
        return uState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cid", getCid())
            .append("crmUserid", getCrmUserid())
            .append("uUserid", getuUserid())
            .append("uName", getuName())
            .append("uIstmp", getuIstmp())
            .append("uOpenId", getuOpenId())
            .append("uType", getuType())
            .append("crmRemake", getCrmRemake())
            .append("uIsdeal", getuIsdeal())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("uPhone", getuPhone())
            .append("uSex", getuSex())
            .append("uCountry", getuCountry())
            .append("uCity", getuCity())
            .append("uProvince", getuProvince())
            .append("uNickName", getuNickName())
            .append("uAvatarUrl", getuAvatarUrl())
            .append("uUnionid", getuUnionid())
            .append("uState", getuState())
            .toString();
    }
}
